﻿<!DOCTYPE html>
<html>
<head>
    <title>@ViewBag.Title</title>
    <link href="@Url.Content("~/Content/Site.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/Themes/redmond/jquery-ui.css")" rel="stylesheet" type="text/css" />
    <script src="@Url.Content("~/Scripts/jquery-1.5.1.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery-ui-1.8.14.min.js")" type="text/javascript"></script>

    @if(IsSectionDefined("Scripts"))
    {
        RenderSection("Scripts", false);
    }
</head>
<body>
    <center>
        <div id="main">
            <div id="topHeader">
                <table id="header" width="1000px" cellpadding="0" cellspacing="0" border="0">
                    <tr>
                        <td>
                            <div id="headerlogo">
                                <h2>@Html.ActionLink("CallMe", "Index", "Home", null, new { @class="boldYellowLink" })</h2>
                            </div>
                        </td>
                        @if (Request.IsAuthenticated)
                        {
                        <td align="center">
                            <div class="menuItem">@Html.ActionLink("Messages", "Index", "Home") @Html.ActionLink("(2)", "Index", "Home", null, new { @class = "yellowLink" })</div>
                        </td>
                        <td align="center">
                            <div class="menuItem">@Html.ActionLink("Updates", "Index", "Home") @Html.ActionLink("(1)", "Index", "Home", null, new { @class = "yellowLink" })</div>
                        </td>
                        <td align="center">
                            <div class="menuItem">@Html.ActionLink("Contacts", "Index", "Home")</div>
                        </td>
                        <td align="center">
                            <div class="menuItem">@Html.ActionLink("Profile", "Edit", "Profile")</div>
                        </td>
                        }
                        <td align="center" style="width:100%">
                            <div id="searchbox">
                            @Html.TextBox("Search", "", new { @class="searchText" }) 
                            <a href="@VirtualPathUtility.ToAbsolute("~/Home/Index")">
                                <img src="@Url.Content("~/Content/search.png")" width="30" height="30" alt="Search" />
                            </a>
                            </div>
                        </td>
                        <td>
                            <nobr>
                                @Html.Partial("_LogOnPartial")
                            </nobr>
                        </td>
                    </tr>
                </table>
            </div>
            <!-- end #header -->
            <div id="page">
                <div id="content">
                    @RenderBody()
                </div>
            </div>
            <!-- #footer -->
            <div id="footer">
                <p>
                    Copyright &copy; 2011 Call.Me | All rights reserved | By <a href="http://call.me/">Call.Me</a>.</p>
            </div>
            <!-- end #footer -->
        </div>
    </center>
</body>
</html>
